
const excelRouter = {
  path: 'excel',
  component: { render(c) { return c('router-view') } },
  redirect: 'noRedirect',
  alwaysShow: true,
  name: 'Excel',
  meta: {
    title: 'Excel',
    icon: 'excel'
  },
  children: [
    {
      path: 'export-excel',
      component: () => import('@/views/example/excel/export-excel'),
      name: 'ExportExcel',
      meta: { title: '导出 Excel' }
    },
    {
      path: 'export-selected-excel',
      component: () => import('@/views/example/excel/select-excel'),
      name: 'SelectExcel',
      meta: { title: '导出 已选项' }
    },
    {
      path: 'export-merge-header',
      component: () => import('@/views/example/excel/merge-header'),
      name: 'MergeHeader',
      meta: { title: '导出 多级表头' }
    },
    {
      path: 'upload-excel',
      component: () => import('@/views/example/excel/upload-excel'),
      name: 'UploadExcel',
      meta: { title: '上传 Excel' }
    }
  ]
}

export default excelRouter
